package com.zretc.entity;
/**
 * @author何亮龙
 * 管理员实体类
 */
public class Manager {
    private Integer adminId;//管理员编号
    private String adminName;//管理员账号名
    private String adminPwd;//管理员密码
    private String adminRole;//管理员角色（0普通管理员,1超级管理员）
    private String adminRegTime;//管理员添加时间

    public Manager() {
    }

    public Manager(Integer adminId, String adminName, String adminPwd) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
    }

    public Manager(Integer adminId, String adminName, String adminPwd, String adminRole, String adminRegTime) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminRole = adminRole;
        this.adminRegTime = adminRegTime;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd;
    }

    public String getAdminRole() {
        return adminRole;
    }

    public void setAdminRole(String adminRole) {
        this.adminRole = adminRole;
    }

    public String getAdminRegTime() {
        return adminRegTime;
    }

    public void setAdminRegTime(String adminRegTime) {
        this.adminRegTime = adminRegTime;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "adminId=" + adminId +
                ", adminName='" + adminName + '\'' +
                ", adminPwd='" + adminPwd + '\'' +
                ", adminRole='" + adminRole + '\'' +
                ", adminRegTime='" + adminRegTime + '\'' +
                '}';
    }
}
